import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'venue_class/getList',
    data: info,
    method: 'post'
  })
}


export const add = info => {
  return axios.request({
    url: 'venue_class/add',
    data: info,
    method: 'post'
  })
}

export const put = info => {
  return axios.request({
    url: 'venue_class/edit',
    data: info,
    method: 'post'
  })
}

export const del = info => {
  return axios.request({
    url: 'venue_class/delete',
    data: info,
    method: 'post'
  })
}

export const getMakeData = info => {
  return axios.request({
    url: 'venue_class/getMakeData',
    data: info,
    method: 'post'
  })
}

export const updateStatus = info => {
  return axios.request({
    url: 'venue_class/updateStatus',
    data: info,
    method: 'post'
  })
}

export const storeVenueNumber = info => {
  return axios.request({
    url: 'venue_class/storeVenueNumber',
    data: info,
    method: 'post'
  })
}

export const getVenueAmount = info => {
  return axios.request({
    url: 'venue_class/getVenueAmount',
    data: info,
    method: 'post'
  })
}
